package net.suncapper.wcss.model.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 申请表
 * </p>
 *
 * @author ztr
 * @since 2025-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wcss_application")
@ApiModel(value="Application对象", description="申请表")
public class Application implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

        @ApiModelProperty(value = "批次ID")
    @TableField("batch_id")
    private Long batchId;

        @ApiModelProperty(value = "SKU id")
    @TableField("sku_id")
    private Long skuId;

        @ApiModelProperty(value = "产品id")
    @TableField("product_id")
    private Long productId;

        @ApiModelProperty(value = "学生sn")
    @TableField("sn")
    private String sn;

        @ApiModelProperty(value = "学生姓名")
    @TableField("NAME")
    private String name;

        @ApiModelProperty(value = "性别数据字典")
    @TableField("gender")
    private String gender;

        @ApiModelProperty(value = "申请时间")
    @TableField("apply_date")
    private LocalDate applyDate;

        @ApiModelProperty(value = "学院sn")
    @TableField("college_sn")
    private String collegeSn;

        @ApiModelProperty(value = "学院名")
    @TableField("college_name")
    private String collegeName;

        @ApiModelProperty(value = "专业sn")
    @TableField("major_sn")
    private String majorSn;

        @ApiModelProperty(value = "专业名")
    @TableField("major_name")
    private String majorName;

        @ApiModelProperty(value = "班级sn")
    @TableField("class_sn")
    private String classSn;

        @ApiModelProperty(value = "班级名")
    @TableField("class_name")
    private String className;

        @ApiModelProperty(value = "困难等级级别")
    @TableField("difficulty_level")
    private String difficultyLevel;

        @ApiModelProperty(value = "申请理由")
    @TableField("application_reason")
    private String applicationReason;
    @ApiModelProperty(value = "审核意见")
    @TableField("audit_comment")
    private String auditComment;

        @ApiModelProperty(value = "当前节点code")
    @TableField("current_node_code")
    private Integer currentNodeCode;

        @ApiModelProperty(value = "状态（数据字典）")
    @TableField("STATUS")
    private String status;

        @ApiModelProperty(value = "创建时间")
    @TableField("gmt_created")
    private LocalDateTime gmtCreated;

        @ApiModelProperty(value = "更新时间")
    @TableField("gmt_modified")
    private LocalDateTime gmtModified;


}
